﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace GdHotel.Data
{
    [MetadataType(typeof (RoomMetaData))]
    public partial class Room
    {
    }

    public class RoomMetaData
    {
        [Display(Name = "Заголовок")]
        public Object Title { get; set; }
        
        [Display(Name = "Ключ")]
        public Object Key { get; set; }

        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Описание")]
        public Object Description { get; set; }

        [Display(Name = "Стоимость")]
        public Object Cost { get; set; }

        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Дополнительно")]
        public Object Equipment { get; set; }

        [Display(Name = "Категория")]
        public Object RoomType { get; set; }       
    }
}
